package com.qn.meta.service;

import com.qn.common.base.IBaseService;
import com.qn.common.base.model.BasicFetchPage;
import com.qn.common.base.model.RequestPage;
import com.qn.core.exception.QnNullException;
import com.qn.core.exception.UserRegisterException;
import com.qn.meta.entity.User;
import com.qn.meta.vo.LoginVo;
import com.qn.meta.vo.SessionListVo;
import com.qn.meta.vo.UserLoginVo;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
public interface AuthenticationService extends IBaseService<User> {
    
    UserLoginVo login(LoginVo loginVo) throws QnNullException;
     
     void logOut();
     void kickout(Integer id) throws QnNullException;
     
     BasicFetchPage<SessionListVo> getSessionList(RequestPage<SessionListVo> rpage);
     void register(User model) throws UserRegisterException;
}
